import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    backNowIndex: 'Authorization'
  },
  getters: {
    getBackNowIndex(state) {
      return state.backNowIndex;
    }
  },
  mutations: {
    setBackNowIndex(state,index){
      console.log(index)
      state.backNowIndex = index;
    }
  },
  actions: {
  },
  modules: {
  }
})
